package com.imooc.reader.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.imooc.reader.management.entity.User;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface UserService extends UserDetailsService {
     User createUser(String username, String password , String empName , String deptName);

     IPage<User> selectByRoleCode(IPage page , String roleCode);

     User updateBasicInfo(Integer userId, String empName, String deptName);

     User updateStatus(Integer userId);

     User deleteUser(Integer userId);
}
